#define SPDDB 0
#define GOATS 0
#define DEBUG 0

mob/var
	// I want lung damage, rad damage, chemical and biological poisoning and individual limb damage
	lunghealth = 100
	radloss = 0
	chemloss = 0
	bioloss = 0
	hungerloss = 0

	head_h = 100
	torso_h = 100
	l_arm_h = 100
	r_arm_h = 100
	groin_h = 100
	l_leg_h = 100
	r_leg_h = 100

	canwalk = 1
	cancrawl = 1
	cangrasp_l = 1
	cangrasp_r = 1
	stunned = 0

	basespd = 50
	spddiv = 2
	running = 0

	hunger = 100
	metabolism = 1
	starving = 0
	totalhp = 0

	hasradio = 1
	encumberment = 0

	hitchance = 3




mob/
	density = 0
	icon_state = "player"


	//wielded as obj


mob/proc/Blink()
	usr << "You blink momentarily."
	oview(1) << "[usr] blinks."

	usr.sight |= BLIND
	sleep(2)
	usr.sight &= ~BLIND
	sleep(2)
	usr.sight |= BLIND
	sleep(2)
	usr.sight &= ~BLIND








// Huner management proc

mob/player/proc/LowerHunger()
	hunger -= metabolism

	if (hunger == 0)
		src.starving = 1 // if not enough food in stomach, starve
	if (hunger > 0)
		src.starving = 0 // if enough food in stomach, stop starving



// movement delay stuff

// trying to overwrite the mob's move proc instead.(no longer doing this since i fixed the problem with client/Move()


/*
mob/Move()

	if(cancrawl == 1 || canwalk == 1)
		UpdateMovementSpeed()
		sleep(basespd / spddiv)
		..()*/

mob/player/
	//Move()
	//	name = "GAYGOAT!!!"
	//	..()

